<#import "/spring.ftl" as spring />
<#include "/includes/header.ftl">

<div id='productlist_brands'>
	<#include "/includes/leftbar.ftl">
</div>

<#if command.userWebsite?has_content>
<form name="create_account" action='<@spring.url "/editfavoritewebsite.php"/>' method="post" onsubmit="return check_form(create_account);">
  	<@spring.bind "command.userWebsite.website.sysId" />
	<INPUT type='hidden' name='wbsid' value='${spring.status.value}'>
    <div><b>Edit Favorite Website</b></div>

  	<@spring.bind "command.userWebsite.website.name" />
  	<div class="label">Website Name:</div><div class="input">${spring.status.value?default("")}</div>
  	<@spring.bind "command.userWebsite.website.id" />
  	<div class="label">Website Url:</div><div class="input">${spring.status.value?default("")}</div>
  	<@spring.bind "command.userWebsite.rank" />
  	<div class="label">Favorite Rank:</div><div class="input"><INPUT type='text' name='${spring.status.expression}' value='${spring.status.value?default(0)}'></div>
    <div><input alt="Continue" title=" Continue " border="0" type="submit" name="submit" value="Save" /></div>
</form>
<#else>
	Not Found website.
</#if>
<#include "/includes/footer.ftl">
